<?php
/**
 * Created by PhpStorm.
 * User: 曹旺
 * Date: 2018-05-14
 * Time: 13:08
 */
namespace app\index\model;
use think\Model;
class TypeApprove extends Model{
    public function projectschedule(){
        return $this->hasOne('ProjectSchedule','id','type_approve_id');
    }
}